[INFO] fetching crate rhq-core 0.3.0...
[INFO] testing rhq-core-0.3.0 against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] extracting crate rhq-core 0.3.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate rhq-core 0.3.0 on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rhq-core 0.3.0
[INFO] finished tweaking crates.io crate rhq-core 0.3.0
[INFO] tweaked toml for crates.io crate rhq-core 0.3.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded aho-corasick v0.6.10
[INFO] [stderr]   Downloaded tinyvec v1.2.0
[INFO] [stderr]   Downloaded getrandom v0.2.2
[INFO] [stderr]   Downloaded memchr v2.4.0
[INFO] [stderr]   Downloaded chrono v0.4.19
[INFO] [stderr]   Downloaded time v0.1.43
[INFO] [stderr]   Downloaded error-chain v0.11.0
[INFO] [stderr]   Downloaded glob v0.2.11
[INFO] [stderr]   Downloaded regex v0.2.11
[INFO] [stderr]   Downloaded unicode-normalization v0.1.17
[INFO] [stderr]   Downloaded regex-syntax v0.5.6
[INFO] [stderr]   Downloaded utf8-ranges v1.0.4
[INFO] [stderr]   Downloaded shellexpand v1.1.1
[INFO] [stderr]   Downloaded dirs v2.0.2
[INFO] [stderr]   Downloaded url v1.7.2
[INFO] [stderr]   Downloaded toml v0.4.10
[INFO] [stderr]   Downloaded redox_users v0.4.0
[INFO] [stderr]   Downloaded unicode-bidi v0.3.5
[INFO] [stderr]   Downloaded tinyvec_macros v0.1.0
[INFO] [stderr]   Downloaded idna v0.1.5
[INFO] [stderr]   Downloaded lazy_static v0.2.11
[INFO] [stderr]   Downloaded ucd-util v0.1.8
[INFO] [stderr]   Downloaded wasi v0.10.2+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded percent-encoding v1.0.1
[INFO] [stderr]   Downloaded dirs-sys v0.3.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8ea5e7d322a533d29d63b1a79d8b1d120dee3a2ba2ed9dcbbbbd2e2fd478392
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e8ea5e7d322a533d29d63b1a79d8b1d120dee3a2ba2ed9dcbbbbd2e2fd478392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8ea5e7d322a533d29d63b1a79d8b1d120dee3a2ba2ed9dcbbbbd2e2fd478392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8ea5e7d322a533d29d63b1a79d8b1d120dee3a2ba2ed9dcbbbbd2e2fd478392", kill_on_drop: false }`
[INFO] [stdout] e8ea5e7d322a533d29d63b1a79d8b1d120dee3a2ba2ed9dcbbbbd2e2fd478392
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5d911b41ed7ea44bc6af38f5b7a6289f270423376361895f2dc5251329bdcff4
[INFO] running `Command { std: "docker" "start" "-a" "5d911b41ed7ea44bc6af38f5b7a6289f270423376361895f2dc5251329bdcff4", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling gimli v0.23.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling rustc-demangle v0.1.18
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling object v0.23.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling same-file v0.1.3
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling backtrace v0.3.58
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling walkdir v1.0.7
[INFO] [stderr]    Compiling dirs-sys v0.3.6
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling shellexpand v1.1.1
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling addr2line v0.14.1
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling error-chain v0.11.0
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rhq-core v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> cache.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json");
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> cache.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / lazy_static! {
[INFO] [stdout] 13 | |     static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json");
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> config.rs:13:39
[INFO] [stdout]    |
[INFO] [stdout] 13 |     static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml");
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> config.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / lazy_static! {
[INFO] [stdout] 13 | |     static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml");
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> errors.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain! {
[INFO] [stdout] 4  | |     errors {
[INFO] [stdout] 5  | |         ConfigLoad(path: PathBuf) {
[INFO] [stdout] 6  | |             description("Configuration file is not found")
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     }
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> scp.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | /         lazy_static! {
[INFO] [stdout] 31 | |             static ref RE_SCP: Regex = Regex::new(r"^((?:[^@]+@)?)([^:]+):/?(.+)$").unwrap();
[INFO] [stdout] 32 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]   --> remote.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let path = url.path().trim_left_matches("/");
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> scp.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |             .map(|s| s.trim_right_matches("@"))
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> scp.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |             .trim_right_matches(".git")
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> workspace.rs:228:59
[INFO] [stdout]     |
[INFO] [stdout] 228 |                         let path = path.to_str().unwrap().trim_left_matches(r"\\?\");
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]   --> query.rs:33:47
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"),
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> query.rs:33:70
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"),
[INFO] [stdout]    |                                                                      ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> vcs/git.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 |         .trim_right_matches(&format!("/{}", branch))
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> vcs/hg.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 |         .trim_right()
[INFO] [stdout]    |          ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> errors.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain! {
[INFO] [stdout] 4  | |     errors {
[INFO] [stdout] 5  | |         ConfigLoad(path: PathBuf) {
[INFO] [stdout] 6  | |             description("Configuration file is not found")
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     }
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout]   --> vcs/mod.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 |         .into_iter()
[INFO] [stdout]    |          ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 29.89s
[INFO] running `Command { std: "docker" "inspect" "5d911b41ed7ea44bc6af38f5b7a6289f270423376361895f2dc5251329bdcff4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d911b41ed7ea44bc6af38f5b7a6289f270423376361895f2dc5251329bdcff4", kill_on_drop: false }`
[INFO] [stdout] 5d911b41ed7ea44bc6af38f5b7a6289f270423376361895f2dc5251329bdcff4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4593a2ceb9bf08307ede6898e94cba62a1b14bb1fb4d3bf82ffb53685ed9217
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a4593a2ceb9bf08307ede6898e94cba62a1b14bb1fb4d3bf82ffb53685ed9217", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> cache.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json");
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> cache.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / lazy_static! {
[INFO] [stdout] 13 | |     static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json");
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> config.rs:13:39
[INFO] [stdout]    |
[INFO] [stdout] 13 |     static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml");
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> config.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / lazy_static! {
[INFO] [stdout] 13 | |     static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml");
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> errors.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain! {
[INFO] [stdout] 4  | |     errors {
[INFO] [stdout] 5  | |         ConfigLoad(path: PathBuf) {
[INFO] [stdout] 6  | |             description("Configuration file is not found")
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     }
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> scp.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | /         lazy_static! {
[INFO] [stdout] 31 | |             static ref RE_SCP: Regex = Regex::new(r"^((?:[^@]+@)?)([^:]+):/?(.+)$").unwrap();
[INFO] [stdout] 32 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]   --> remote.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let path = url.path().trim_left_matches("/");
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> scp.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |             .map(|s| s.trim_right_matches("@"))
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> scp.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |             .trim_right_matches(".git")
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> workspace.rs:228:59
[INFO] [stdout]     |
[INFO] [stdout] 228 |                         let path = path.to_str().unwrap().trim_left_matches(r"\\?\");
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]   --> query.rs:33:47
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"),
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> query.rs:33:70
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"),
[INFO] [stdout]    |                                                                      ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> vcs/git.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 |         .trim_right_matches(&format!("/{}", branch))
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> vcs/hg.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 |         .trim_right()
[INFO] [stdout]    |          ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rhq-core v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> errors.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain! {
[INFO] [stdout] 4  | |     errors {
[INFO] [stdout] 5  | |         ConfigLoad(path: PathBuf) {
[INFO] [stdout] 6  | |             description("Configuration file is not found")
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     }
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout]   --> vcs/mod.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 |         .into_iter()
[INFO] [stdout]    |          ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> cache.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json");
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> cache.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / lazy_static! {
[INFO] [stdout] 13 | |     static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json");
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> config.rs:13:39
[INFO] [stdout]    |
[INFO] [stdout] 13 |     static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml");
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> config.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / lazy_static! {
[INFO] [stdout] 13 | |     static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml");
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> errors.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain! {
[INFO] [stdout] 4  | |     errors {
[INFO] [stdout] 5  | |         ConfigLoad(path: PathBuf) {
[INFO] [stdout] 6  | |             description("Configuration file is not found")
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     }
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> scp.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | /         lazy_static! {
[INFO] [stdout] 31 | |             static ref RE_SCP: Regex = Regex::new(r"^((?:[^@]+@)?)([^:]+):/?(.+)$").unwrap();
[INFO] [stdout] 32 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]   --> remote.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let path = url.path().trim_left_matches("/");
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> scp.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |             .map(|s| s.trim_right_matches("@"))
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> scp.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |             .trim_right_matches(".git")
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> workspace.rs:228:59
[INFO] [stdout]     |
[INFO] [stdout] 228 |                         let path = path.to_str().unwrap().trim_left_matches(r"\\?\");
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]   --> query.rs:33:47
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"),
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> query.rs:33:70
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"),
[INFO] [stdout]    |                                                                      ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]   --> vcs/git.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 |         .trim_right_matches(&format!("/{}", branch))
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> vcs/hg.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 |         .trim_right()
[INFO] [stdout]    |          ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> errors.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain! {
[INFO] [stdout] 4  | |     errors {
[INFO] [stdout] 5  | |         ConfigLoad(path: PathBuf) {
[INFO] [stdout] 6  | |             description("Configuration file is not found")
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     }
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout]   --> vcs/mod.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 |         .into_iter()
[INFO] [stdout]    |          ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.90s
[INFO] running `Command { std: "docker" "inspect" "a4593a2ceb9bf08307ede6898e94cba62a1b14bb1fb4d3bf82ffb53685ed9217", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4593a2ceb9bf08307ede6898e94cba62a1b14bb1fb4d3bf82ffb53685ed9217", kill_on_drop: false }`
[INFO] [stdout] a4593a2ceb9bf08307ede6898e94cba62a1b14bb1fb4d3bf82ffb53685ed9217
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5c53347565ce0e66efbb1e9dced002b09838e2ebe9860e72acaee37da641473c
[INFO] running `Command { std: "docker" "start" "-a" "5c53347565ce0e66efbb1e9dced002b09838e2ebe9860e72acaee37da641473c", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stderr]   --> cache.rs:13:38
[INFO] [stderr]    |
[INFO] [stderr] 13 |     static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json");
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> cache.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | / lazy_static! {
[INFO] [stderr] 13 | |     static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json");
[INFO] [stderr] 14 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stderr]   --> config.rs:13:39
[INFO] [stderr]    |
[INFO] [stderr] 13 |     static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml");
[INFO] [stderr]    |                                       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> config.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | / lazy_static! {
[INFO] [stderr] 13 | |     static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml");
[INFO] [stderr] 14 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> errors.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / error_chain! {
[INFO] [stderr] 4  | |     errors {
[INFO] [stderr] 5  | |         ConfigLoad(path: PathBuf) {
[INFO] [stderr] 6  | |             description("Configuration file is not found")
[INFO] [stderr] ...  |
[INFO] [stderr] 18 | |     }
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> scp.rs:30:9
[INFO] [stderr]    |
[INFO] [stderr] 30 | /         lazy_static! {
[INFO] [stderr] 31 | |             static ref RE_SCP: Regex = Regex::new(r"^((?:[^@]+@)?)([^:]+):/?(.+)$").unwrap();
[INFO] [stderr] 32 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]   --> remote.rs:28:35
[INFO] [stderr]    |
[INFO] [stderr] 28 |             let path = url.path().trim_left_matches("/");
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> scp.rs:41:24
[INFO] [stderr]    |
[INFO] [stderr] 41 |             .map(|s| s.trim_right_matches("@"))
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> scp.rs:48:14
[INFO] [stderr]    |
[INFO] [stderr] 48 |             .trim_right_matches(".git")
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> workspace.rs:228:59
[INFO] [stderr]     |
[INFO] [stderr] 228 |                         let path = path.to_str().unwrap().trim_left_matches(r"\\?\");
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]   --> query.rs:33:47
[INFO] [stderr]    |
[INFO] [stderr] 33 |             Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"),
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> query.rs:33:70
[INFO] [stderr]    |
[INFO] [stderr] 33 |             Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"),
[INFO] [stderr]    |                                                                      ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> vcs/git.rs:60:10
[INFO] [stderr]    |
[INFO] [stderr] 60 |         .trim_right_matches(&format!("/{}", branch))
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stderr]   --> vcs/hg.rs:51:10
[INFO] [stderr]    |
[INFO] [stderr] 51 |         .trim_right()
[INFO] [stderr]    |          ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stderr]   --> errors.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / error_chain! {
[INFO] [stderr] 4  | |     errors {
[INFO] [stderr] 5  | |         ConfigLoad(path: PathBuf) {
[INFO] [stderr] 6  | |             description("Configuration file is not found")
[INFO] [stderr] ...  |
[INFO] [stderr] 18 | |     }
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stderr]   --> vcs/mod.rs:57:10
[INFO] [stderr]    |
[INFO] [stderr] 57 |         .into_iter()
[INFO] [stderr]    |          ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(array_into_iter)]` on by default
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]    = note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
[INFO] [stderr] 
[INFO] [stderr] warning: 16 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stderr]   --> cache.rs:13:38
[INFO] [stderr]    |
[INFO] [stderr] 13 |     static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json");
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> cache.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | / lazy_static! {
[INFO] [stderr] 13 | |     static ref CACHE_PATH: PathBuf = env::home_dir().unwrap().join(".cache/rhq/cache.json");
[INFO] [stderr] 14 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stderr]   --> config.rs:13:39
[INFO] [stderr]    |
[INFO] [stderr] 13 |     static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml");
[INFO] [stderr]    |                                       ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> config.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | / lazy_static! {
[INFO] [stderr] 13 | |     static ref CONFIG_PATH: PathBuf = env::home_dir().unwrap().join(".config/rhq/config.toml");
[INFO] [stderr] 14 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> errors.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / error_chain! {
[INFO] [stderr] 4  | |     errors {
[INFO] [stderr] 5  | |         ConfigLoad(path: PathBuf) {
[INFO] [stderr] 6  | |             description("Configuration file is not found")
[INFO] [stderr] ...  |
[INFO] [stderr] 18 | |     }
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> scp.rs:30:9
[INFO] [stderr]    |
[INFO] [stderr] 30 | /         lazy_static! {
[INFO] [stderr] 31 | |             static ref RE_SCP: Regex = Regex::new(r"^((?:[^@]+@)?)([^:]+):/?(.+)$").unwrap();
[INFO] [stderr] 32 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]   --> remote.rs:28:35
[INFO] [stderr]    |
[INFO] [stderr] 28 |             let path = url.path().trim_left_matches("/");
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> scp.rs:41:24
[INFO] [stderr]    |
[INFO] [stderr] 41 |             .map(|s| s.trim_right_matches("@"))
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> scp.rs:48:14
[INFO] [stderr]    |
[INFO] [stderr] 48 |             .trim_right_matches(".git")
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> workspace.rs:228:59
[INFO] [stderr]     |
[INFO] [stderr] 228 |                         let path = path.to_str().unwrap().trim_left_matches(r"\\?\");
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]   --> query.rs:33:47
[INFO] [stderr]    |
[INFO] [stderr] 33 |             Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"),
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> query.rs:33:70
[INFO] [stderr]    |
[INFO] [stderr] 33 |             Query::Url(ref url) => url.path().trim_left_matches("/").trim_right_matches(".git"),
[INFO] [stderr]    |                                                                      ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]   --> vcs/git.rs:60:10
[INFO] [stderr]    |
[INFO] [stderr] 60 |         .trim_right_matches(&format!("/{}", branch))
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stderr]   --> vcs/hg.rs:51:10
[INFO] [stderr]    |
[INFO] [stderr] 51 |         .trim_right()
[INFO] [stderr]    |          ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stderr]   --> errors.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / error_chain! {
[INFO] [stderr] 4  | |     errors {
[INFO] [stderr] 5  | |         ConfigLoad(path: PathBuf) {
[INFO] [stderr] 6  | |             description("Configuration file is not found")
[INFO] [stderr] ...  |
[INFO] [stderr] 18 | |     }
[INFO] [stderr] 19 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stderr]   --> vcs/mod.rs:57:10
[INFO] [stderr]    |
[INFO] [stderr] 57 |         .into_iter()
[INFO] [stderr]    |          ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(array_into_iter)]` on by default
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]    = note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
[INFO] [stderr] 
[INFO] [stderr] warning: 16 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/rhq_core-06b3b03d62870056)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test query::tests_query::ssh_url ... ok
[INFO] [stdout] test query::tests_query::https_url ... ok
[INFO] [stdout] test util::test_skipped_1 ... ok
[INFO] [stdout] test query::test_methods::case_url ... ok
[INFO] [stdout] test query::tests_query::scp_pattern ... ok
[INFO] [stdout] test query::test_methods::case_scp ... ok
[INFO] [stdout] test query::tests_query::short_pattern_with_host ... ok
[INFO] [stdout] test query::test_methods::case_relative ... ok
[INFO] [stdout] test remote::tests::path_https ... ok
[INFO] [stdout] test remote::tests::path_scp ... ok
[INFO] [stdout] test query::tests_query::short_pattern_without_host ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rhq-core
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5c53347565ce0e66efbb1e9dced002b09838e2ebe9860e72acaee37da641473c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c53347565ce0e66efbb1e9dced002b09838e2ebe9860e72acaee37da641473c", kill_on_drop: false }`
[INFO] [stdout] 5c53347565ce0e66efbb1e9dced002b09838e2ebe9860e72acaee37da641473c
